Optimal. Leaf size=186 \[ \frac {4 \sqrt {a+b x} \left (a^2 d^2+6 a b c d+b^2 c^2\right )}{3 b \sqrt {c+d x} (b c-a d)^4}+\frac {2 \sqrt {a+b x} \left (a^2 d^2+6 a b c d+b^2 c^2\right )}{3 b^2 (c+d x)^{3/2} (b c-a d)^3}-\frac {2 a^2}{3 b^2 (a+b x)^{3/2} (c+d x)^{3/2} (b c-a d)}+\frac {4 a c}{b \sqrt {a+b x} (c+d x)^{3/2} (b c-a d)^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 186, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {89, 78, 45, 37} \begin {gather*} \frac {4 \sqrt {a+b x} \left (a^2 d^2+6 a b c d+b^2 c^2\right )}{3 b \sqrt {c+d x} (b c-a d)^4}+\frac {2 \sqrt {a+b x} \left (a^2 d^2+6 a b c d+b^2 c^2\right )}{3 b^2 (c+d x)^{3/2} (b c-a d)^3}-\frac {2 a^2}{3 b^2 (a+b x)^{3/2} (c+d x)^{3/2} (b c-a d)}+\frac {4 a c}{b \sqrt {a+b x} (c+d x)^{3/2} (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 45
Rule 78
Rule 89
Rubi steps
\begin {align*} \int \frac {x^2}{(a+b x)^{5/2} (c+d x)^{5/2}} \, dx &=-\frac {2 a^2}{3 b^2 (b c-a d) (a+b x)^{3/2} (c+d x)^{3/2}}+\frac {2 \int \frac {-\frac {3}{2} a (b c+a d)+\frac {3}{2} b (b c-a d) x}{(a+b x)^{3/2} (c+d x)^{5/2}} \, dx}{3 b^2 (b c-a d)}\\ &=-\frac {2 a^2}{3 b^2 (b c-a d) (a+b x)^{3/2} (c+d x)^{3/2}}+\frac {4 a c}{b (b c-a d)^2 \sqrt {a+b x} (c+d x)^{3/2}}+\frac {\left (b^2 c^2+6 a b c d+a^2 d^2\right ) \int \frac {1}{\sqrt {a+b x} (c+d x)^{5/2}} \, dx}{b^2 (b c-a d)^2}\\ &=-\frac {2 a^2}{3 b^2 (b c-a d) (a+b x)^{3/2} (c+d x)^{3/2}}+\frac {4 a c}{b (b c-a d)^2 \sqrt {a+b x} (c+d x)^{3/2}}+\frac {2 \left (b^2 c^2+6 a b c d+a^2 d^2\right ) \sqrt {a+b x}}{3 b^2 (b c-a d)^3 (c+d x)^{3/2}}+\frac {\left (2 \left (b^2 c^2+6 a b c d+a^2 d^2\right )\right ) \int \frac {1}{\sqrt {a+b x} (c+d x)^{3/2}} \, dx}{3 b (b c-a d)^3}\\ &=-\frac {2 a^2}{3 b^2 (b c-a d) (a+b x)^{3/2} (c+d x)^{3/2}}+\frac {4 a c}{b (b c-a d)^2 \sqrt {a+b x} (c+d x)^{3/2}}+\frac {2 \left (b^2 c^2+6 a b c d+a^2 d^2\right ) \sqrt {a+b x}}{3 b^2 (b c-a d)^3 (c+d x)^{3/2}}+\frac {4 \left (b^2 c^2+6 a b c d+a^2 d^2\right ) \sqrt {a+b x}}{3 b (b c-a d)^4 \sqrt {c+d x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 137, normalized size = 0.74 \begin {gather*} \frac {2 \left (a^3 d \left (8 c^2+12 c d x+3 d^2 x^2\right )+a^2 b \left (8 c^3+24 c^2 d x+21 c d^2 x^2+2 d^3 x^3\right )+3 a b^2 c x \left (4 c^2+7 c d x+4 d^2 x^2\right )+b^3 c^2 x^2 (3 c+2 d x)\right )}{3 (a+b x)^{3/2} (c+d x)^{3/2} (b c-a d)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.15, size = 131, normalized size = 0.70 \begin {gather*} -\frac {2 (a+b x)^{3/2} \left (\frac {a^2 b (c+d x)^3}{(a+b x)^3}-\frac {3 a^2 d (c+d x)^2}{(a+b x)^2}-\frac {3 b c^2 (c+d x)}{a+b x}-\frac {6 a b c (c+d x)^2}{(a+b x)^2}-\frac {6 a c d (c+d x)}{a+b x}+c^2 d\right )}{3 (c+d x)^{3/2} (b c-a d)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 3.37, size = 468, normalized size = 2.52 \begin {gather*} \frac {2 \, {\left (8 \, a^{2} b c^{3} + 8 \, a^{3} c^{2} d + 2 \, {\left (b^{3} c^{2} d + 6 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} x^{3} + 3 \, {\left (b^{3} c^{3} + 7 \, a b^{2} c^{2} d + 7 \, a^{2} b c d^{2} + a^{3} d^{3}\right )} x^{2} + 12 \, {\left (a b^{2} c^{3} + 2 \, a^{2} b c^{2} d + a^{3} c d^{2}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{3 \, {\left (a^{2} b^{4} c^{6} - 4 \, a^{3} b^{3} c^{5} d + 6 \, a^{4} b^{2} c^{4} d^{2} - 4 \, a^{5} b c^{3} d^{3} + a^{6} c^{2} d^{4} + {\left (b^{6} c^{4} d^{2} - 4 \, a b^{5} c^{3} d^{3} + 6 \, a^{2} b^{4} c^{2} d^{4} - 4 \, a^{3} b^{3} c d^{5} + a^{4} b^{2} d^{6}\right )} x^{4} + 2 \, {\left (b^{6} c^{5} d - 3 \, a b^{5} c^{4} d^{2} + 2 \, a^{2} b^{4} c^{3} d^{3} + 2 \, a^{3} b^{3} c^{2} d^{4} - 3 \, a^{4} b^{2} c d^{5} + a^{5} b d^{6}\right )} x^{3} + {\left (b^{6} c^{6} - 9 \, a^{2} b^{4} c^{4} d^{2} + 16 \, a^{3} b^{3} c^{3} d^{3} - 9 \, a^{4} b^{2} c^{2} d^{4} + a^{6} d^{6}\right )} x^{2} + 2 \, {\left (a b^{5} c^{6} - 3 \, a^{2} b^{4} c^{5} d + 2 \, a^{3} b^{3} c^{4} d^{2} + 2 \, a^{4} b^{2} c^{3} d^{3} - 3 \, a^{5} b c^{2} d^{4} + a^{6} c d^{5}\right )} x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 3.84, size = 769, normalized size = 4.13 \begin {gather*} \frac {2 \, \sqrt {b x + a} {\left (\frac {2 \, {\left (b^{7} c^{5} d^{2} {\left | b \right |} - 6 \, a^{2} b^{5} c^{3} d^{4} {\left | b \right |} + 8 \, a^{3} b^{4} c^{2} d^{5} {\left | b \right |} - 3 \, a^{4} b^{3} c d^{6} {\left | b \right |}\right )} {\left (b x + a\right )}}{b^{9} c^{7} d - 7 \, a b^{8} c^{6} d^{2} + 21 \, a^{2} b^{7} c^{5} d^{3} - 35 \, a^{3} b^{6} c^{4} d^{4} + 35 \, a^{4} b^{5} c^{3} d^{5} - 21 \, a^{5} b^{4} c^{2} d^{6} + 7 \, a^{6} b^{3} c d^{7} - a^{7} b^{2} d^{8}} + \frac {3 \, {\left (b^{8} c^{6} d {\left | b \right |} - 2 \, a b^{7} c^{5} d^{2} {\left | b \right |} - 2 \, a^{2} b^{6} c^{4} d^{3} {\left | b \right |} + 8 \, a^{3} b^{5} c^{3} d^{4} {\left | b \right |} - 7 \, a^{4} b^{4} c^{2} d^{5} {\left | b \right |} + 2 \, a^{5} b^{3} c d^{6} {\left | b \right |}\right )}}{b^{9} c^{7} d - 7 \, a b^{8} c^{6} d^{2} + 21 \, a^{2} b^{7} c^{5} d^{3} - 35 \, a^{3} b^{6} c^{4} d^{4} + 35 \, a^{4} b^{5} c^{3} d^{5} - 21 \, a^{5} b^{4} c^{2} d^{6} + 7 \, a^{6} b^{3} c d^{7} - a^{7} b^{2} d^{8}}\right )}}{3 \, {\left (b^{2} c + {\left (b x + a\right )} b d - a b d\right )}^{\frac {3}{2}}} + \frac {8 \, {\left (3 \, \sqrt {b d} a b^{6} c^{3} - 5 \, \sqrt {b d} a^{2} b^{5} c^{2} d + \sqrt {b d} a^{3} b^{4} c d^{2} + \sqrt {b d} a^{4} b^{3} d^{3} - 6 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b^{4} c^{2} + 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{2} b^{3} c d + 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{3} b^{2} d^{2} + 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a b^{2} c\right )}}{3 \, {\left (b^{3} c^{3} {\left | b \right |} - 3 \, a b^{2} c^{2} d {\left | b \right |} + 3 \, a^{2} b c d^{2} {\left | b \right |} - a^{3} d^{3} {\left | b \right |}\right )} {\left (b^{2} c - a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 203, normalized size = 1.09 \begin {gather*} \frac {\frac {4}{3} a^{2} b \,d^{3} x^{3}+8 a \,b^{2} c \,d^{2} x^{3}+\frac {4}{3} b^{3} c^{2} d \,x^{3}+2 a^{3} d^{3} x^{2}+14 a^{2} b c \,d^{2} x^{2}+14 a \,b^{2} c^{2} d \,x^{2}+2 b^{3} c^{3} x^{2}+8 a^{3} c \,d^{2} x +16 a^{2} b \,c^{2} d x +8 a \,b^{2} c^{3} x +\frac {16}{3} a^{3} c^{2} d +\frac {16}{3} a^{2} b \,c^{3}}{\left (b x +a \right )^{\frac {3}{2}} \left (d x +c \right )^{\frac {3}{2}} \left (a^{4} d^{4}-4 a^{3} b c \,d^{3}+6 a^{2} b^{2} c^{2} d^{2}-4 a \,b^{3} c^{3} d +b^{4} c^{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.88, size = 248, normalized size = 1.33 \begin {gather*} \frac {\sqrt {c+d\,x}\,\left (\frac {4\,x^3\,\left (a^2\,d^2+6\,a\,b\,c\,d+b^2\,c^2\right )}{3\,d\,{\left (a\,d-b\,c\right )}^4}+\frac {x^2\,\left (6\,a^3\,d^3+42\,a^2\,b\,c\,d^2+42\,a\,b^2\,c^2\,d+6\,b^3\,c^3\right )}{3\,b\,d^2\,{\left (a\,d-b\,c\right )}^4}+\frac {16\,a^2\,c^2\,\left (a\,d+b\,c\right )}{3\,b\,d^2\,{\left (a\,d-b\,c\right )}^4}+\frac {8\,a\,c\,x\,{\left (a\,d+b\,c\right )}^2}{b\,d^2\,{\left (a\,d-b\,c\right )}^4}\right )}{x^3\,\sqrt {a+b\,x}+\frac {a\,c^2\,\sqrt {a+b\,x}}{b\,d^2}+\frac {x^2\,\left (a\,d+2\,b\,c\right )\,\sqrt {a+b\,x}}{b\,d}+\frac {c\,x\,\left (2\,a\,d+b\,c\right )\,\sqrt {a+b\,x}}{b\,d^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (a + b x\right )^{\frac {5}{2}} \left (c + d x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________